home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19950329-19950528
/
000225_news@columbia.edu_Tue Apr 25 13:02:20 1995.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
4KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA09828
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Tue, 25 Apr 1995 09:02:43 -0400
Received: by apakabar.cc.columbia.edu id AA22469
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Tue, 25 Apr 1995 09:02:39 -0400
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Keyboard initiated macro
Date: 25 Apr 1995 13:02:20 GMT
Organization: Columbia University
Lines: 67
Message-Id: <3nirss$lt7@apakabar.cc.columbia.edu>
References: <D7K6qq.D8K@boss.cs.ohiou.edu>
Nntp-Posting-Host: watsun.cc.columbia.edu
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <D7K6qq.D8K@boss.cs.ohiou.edu>,
Mike Snavely <snavelym@oumail1.email.ohiou.edu> wrote:
: This question relates to a MS-Kermit trick that used to work for us
: with version 3.10 and 3.11, but stopped working when commands were
: obsoleted in version 3.12 or 3.13.
:
: Here's what I used to do, and it worked rather nicely. I have two
: different keyboard mappings we use with MS-Kermit. One is an IBM
: mainframe mapping, another is a DEC VAX mapping. I used to program
: MS-Kermit, such that CTRL-F1 would serve as a toggle. If I pressed
: it once, it would toggle from IBM to DEC, if I pressed it again, it
: would toggle back from DEC to IBM. I did that with the use of the
: pre-defined TERMINALR and TERMINALS macros. See code below.
:
: Excerpt from MSKERMIT.INI file:
:
: assign \%i ibm.set
: assign \%v dec.set
: assign \%p keymap.ini
: def terminalr take \%v,-
: echo Keyboard switched to DEC settings \13,-
: pause 2, connect
: def terminals take \%i,-
: echo Keyboard switched to IBM settings \13,-
: pause 2, connect
: def product take \%p, connect
:
This should still work. TERMINALR and TERMINALS can still be used as
macro names, but there is now nothing special about them, and they are
no longer tied to an escape sequence.
The PRODUCT macro and associated escape sequence should still work as
described in "Using MS-DOS Kermit".
: Furthermore, the KEYMAP.INI file allowed host-triggered ESCAPE sequences
: to perform the keyboard mapping swap on login and logout from the VAX.
:
As described at length in the KERMIT.UPD file that comes with MS-DOS Kermit,
the escape sequence that was used for this purpose suddenly popped up in
DEC software (e.g. DECnotes, DECforms, etc), so we could not use it any more.
Rather than "invent" another new escape sequence for this purpose, only to
have it usurpred again, and then repeat the process indefinitely, we chose
a new path: use an escape sequence that is already defined for the VT320,
called Application Program Command (APC). It works differently from the
old TERMINALR/S method, however. Instead of requiring each user to have
these macros defined, it allows the host application to control everything,
even when MS-DOS Kermit is running "bare". From a management standpoint,
this is a lot better, right? Procedures are defined (and fixed, if needed)
in one place rather than hundreds, etc.
: Each of the keyboard mapping files then had a definition for CTRL-F1
: that pointed to the appropriate macro.
:
: IBM.SET had the following line...
: set key \1374 \Kterminalr ; CTRL-F1 = Swap to DEC settings
:
: DEC.SET had the following line...
: set key \1374 \Kterminals ; CTRL-F1 = Switch to IBM settings
:
: Terminalr and Terminals are no longer supported. I have tried a number
: of possible solutions and have yet to be completely satisfied.
: Anybody have any suggestions?
:
Read the section on APC in KERMIT.UPD (section 10 for version 3.14).
- Frank